package com.project.dao;

import com.project.entity.AnswerRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

public interface AnswerRecordMapper {
    int insert(AnswerRecord record);

    List<AnswerRecord> FindBythree(@Param("studentid") Integer studentid, @Param("examid") Integer examid, @Param("exerciseinfoid") Integer exerciseinfoid);

    List<AnswerRecord> FindBytwo(@Param("examid") Integer examid, @Param("exerciseinfoid") Integer exerciseinfoid);

    int deleteByPrimaryKey(Integer id);

    List<AnswerRecord> selectBatchByCondition(AnswerRecord answerRecord);
}
